<!--css-->
<link href="{__SGADMIN_PATH}css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="{__SGADMIN_PATH}css/animate.css" rel="stylesheet">
<link href="{__SGADMIN_PATH}css/font-awesome.css?v=4.4.0" rel="stylesheet">
<script src="{__SGADMIN_PATH}js/bootstrap.min.js?v=3.3.6"></script>
<link rel="stylesheet" type="text/css" href="{__SGPLUG_PATH}webuploader/webuploader.css">
<link rel="stylesheet" type="text/css" href="{__SGADMIN_PATH}css/webuploader-demo.css">

<div class="col-sm-12">
    <div class="ibox float-e-margins">

        <div class="ibox-content">
            <div class="page-container">

                <div id="uploader" class="wu-example">
                    <input type="hidden" id="{$imageurl}" name="{$name}" class="layui-input" lay-verify="{$verify}" lay-reqText="请先上传图片" style="width: 100%"> <!--存放图片路径-->
                    <div class="queueList">
                        <div id="dndArea" class="placeholder">
                            <div id="filePicker"></div>
                            <p>或将照片拖到这里，单次最多可选300张</p>
                        </div>
                    </div>
                    <div class="statusBar" style="display:none;">
                        <div class="progress">
                            <span class="text">0%</span>
                            <span class="percentage"></span>
                        </div>
                        <div class="info"></div>
                        <div class="btns">
                            <div id="filePicker2"></div>
                            <div class="uploadBtn">开始上传</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>


<!-- Web Uploader -->
<script type="text/javascript">
    var ul="{__SGPLUG_PATH}";
    // 添加全局站点信息
    var BASE_URL = ul+'webuploader';  //webupload 地址
    var up_load="{:url('common/Webploader')}"  //图片上传地址
    var val_id="imageurl"; //存储上传图片的ID
</script>

<script src="{__SGPLUG_PATH}webuploader/webuploader.min.js"></script>

<script src="{__SGADMIN_PATH}js/webuploader-demo.js"></script>